This update requires you to make changes to the following files:
- /Web.config
- /App_Config/Commands.config
Depending on search provider, you should also update the appropriate files below:
- Sitecore solution configured to use Lucene:
- /App_Config/Include/Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config
- Sitecore solution configured to use Solr:
- /App_Config/Include/Sitecore.ContentSearch.Solr.Indexes.config
The clean configuration files for Sitecore CMS and DMS 7.2 rev. 150408 can be downloaded using the following links:
- Web.config
- Commands.config
- Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config
- Sitecore.ContentSearch.Solr.Indexes.config
Changes to Web.config
The following changes have been made to the Web.config file of Sitecore CMS 7.2 rev. 150408 (Update-4) as compared to the Web.config file of Sitecore CMS 7.2 rev. 141226 (Update-3).
- In the <appSettings> section add the following key after key="Lucene.Net.FSDirectory.class" key:<add key="PageInspector:ServerCodeMappingSupport" value="Disabled" />
- In the <sitecore> section, add the following node (after the <itemManager> node):<!-- TEMPLATES -->
<templateManager defaultProvider="default">
<providers>
<clear />
<add name="default" type="Sitecore.Data.Managers.TemplateProvider, Sitecore.Kernel" />
</providers>
</templateManager>
Changes to App_Config\Commands.config
The following changes have been made to the App_Config\Commands.config file of Sitecore CMS 7.2 rev. 150408 (Update-4) as compared to the App_Config\Commands.config file of Sitecore CMS 7.2 rev. 141226 (Update-3).
- Add the following node (you can add it at any place in the section, but in a clean Sitecore installation the new node is placed after " webedit:editlink " command):<command name="webedit:clearlink" type="Sitecore.Shell.Applications.WebEdit.Commands.ClearLink,Sitecore.Client"/>
Changes to App_Config\Include\Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config
The following changes have been made to the App_Config\Include\Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config file of Sitecore CMS 7.2 rev. 150408 (Update-4) as compared to the App_Config\Include\Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config file of Sitecore CMS 7.2 rev. 141226 (Update-3).
- In the <fieldNames> section, add the following node, at the beginning of the section:<field fieldName="culture" storageType="YES" indexType="TOKENIZED" vectorType="NO" boost="1f" type="System.String" settingType="Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider">
<analyzer type="Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider" />
</field> - In the <fields> section , add the following node, between “parsedlanguage” and “site” fields:<field fieldName="culture" >Sitecore.ContentSearch.ComputedFields.Culture,Sitecore.ContentSearch</field>
- In the <settings> section change the value of “ContentSearch.LuceneQueryClauseCount" setting from 1024 to 4096. After the change setting should look like this:<setting name="ContentSearch.LuceneQueryClauseCount" value="4096" />
Changes to App_Config\Include\Sitecore.ContentSearch.Solr.Indexes.config
The following changes have been made to the App_Config\Include\Sitecore.ContentSearch.Solr.Indexes.config file of Sitecore CMS 7.2 rev. 150408 (Update-4) as compared to the App_Config\Include\Sitecore.ContentSearch.Solr.Indexes.config file of Sitecore CMS 7.2 rev. 141226 (Update-3).
In the <fields> section, add the following node (you can add it at any place in the section, but in a clean Sitecore installation the new node is placedbetween “calculateddimension” and “daterange_month” fields):
returnType="string"
>Sitecore.ContentSearch.ComputedFields.Culture,Sitecore.ContentSearch</field>